#pragma once
class Heap
{
	unsigned char* buffer;
	size_t size = 0;
public:
	Heap() = default;
	bool Reset(size_t newSize);
	void* Alloc(size_t length);
	void Free(void* pAddress);
	void Compaction();
};